﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class player : Publicinfo
    {
        public player(string name) : base(name)
        {
            this.Name = name;
        }
        public override int fist()
        {
            Console.WriteLine("请出拳：1、剪刀 2 、石头 3、 布  (请输入相应数字)");
            int choose2 = int.Parse(Console.ReadLine());
            return choose2;
        }


    }
}